import request from "@/utils/requestMd5";

export function getCompanyListByName(params) { //
  return request({
    url: "base/getCompanyListByName",
    method: "get",
    params
  });
}


export function getServicesList(params) { //获取客服列表
  return request({
    url: "/customer/index",
    method: "get",
    params
  });
}

export function addServices(data) { //添加客服
  return request({
    url: "/customer/add",
    method: "post",
    data
  });
}

export function editServices(data) { //编辑客服
  return request({
    url: "/customer/edit",
    method: "post",
    data
  });
}

export function deleteServices(data) { //删除客服
  return request({
    url: "/customer/delete",
    method: "post",
    data
  });
}